﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace RockBus.DataContracts
{
    [DataContract(Namespace = StringConstants.RockBusNamespace)]
    public class SubscriberConfiguration : EvaluatorConfigurationBase<SubscriberInfo, SubscriptionInfo, SubscriptionDetail>
    {
        public SubscriberConfiguration()
            : base()
        {
        }

        public SubscriberConfiguration(IEnumerable<SubscriberInfo> subscribers)
            : base(subscribers)
        {
        }

        public SubscriberConfiguration(params SubscriberInfo[] subscribers)
            : this((IEnumerable<SubscriberInfo>)subscribers)
        {
        }
    }
}